CONFIG -= qt

TEMPLATE = lib
CONFIG += staticlib c++11

DEFINES += NOMINMAX WRAPPING_CEF_SHARED
QMAKE_CXXFLAGS_WARN_ON -= -w34100

INCLUDEPATH += cef

HEADERS += \
    $$files(cef/include/*.h) \
    $$files(cef/include/base/*.h) \
    $$files(cef/include/base/internal/*.h) \
    $$files(cef/include/capi/*.h) \
    #$$files(cef/include/capi/views/*.h) \
    $$files(cef/include/internal/*.h) \
    #$$files(cef/include/views/*.h) \
    $$files(cef/include/wrapper/*.h) \
    $$files(cef/libcef_dll/cpptoc/*.h) \
    $$files(cef/libcef_dll/ctocpp/*.h) \
    $$files(cef/libcef_dll/wrapper/*.h) \
    $$files(cef/libcef_dll/*.h)

SOURCES += \
    $$files(cef/libcef_dll/base/*.cc) \
    $$files(cef/libcef_dll/cpptoc/*.cc) \
    #$$files(cef/libcef_dll/cpptoc/views/*.cc) \
    $$files(cef/libcef_dll/ctocpp/*.cc) \
    #$$files(cef/libcef_dll/ctocpp/views/*.cc) \
    $$files(cef/libcef_dll/wrapper/*.cc) \
    $$files(cef/libcef_dll/*.cc)

CONFIG(release, debug|release) {
    LIBS += -L$$PWD/cef/Release -llibcef
    DESTDIR = $$PWD/out/Release
    DLLDESTDIR = $$PWD/out/Release
}
else:CONFIG(debug, debug|release) {
    LIBS += -L$$PWD/cef/Debug -llibcef
    DESTDIR = $$PWD/out/Debug
    DLLDESTDIR = $$PWD/out/Debug
}
